package com.fulihui.usercore.enums;

import org.near.toolkit.model.BaseEnum;

/**
 *
 * Created by Willard.Hu on 2016/8/16.
 */
public enum WechatOpenIdTypeEnum implements BaseEnum {

    NATIVE_APP("NATIVE_APP", "手机端授权获取的openId"),

    WECHAT_MP("WECHAT_MP", "微信公众号获取的openId"),

    ;

    private String code;
    private String desc;

    WechatOpenIdTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
